package com.rc.saas.mini.model.elec;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.rc.saas.mini.common.base.BaseModel;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description 
 * @Author  
 * @Date: 2022-04-24
 */

@ApiModel(value=" elec_power_plan ", description=" 充电功率计划表 ")
public class ElecPowerPlan extends BaseModel{ 

    @ApiModelProperty(value = "ID")
    private Long elecPowerPlanId;
 
    @ApiModelProperty(value = "发起方 0，本地，1虚拟电厂 2 异常重置")
    private String initiator;
 
    @ApiModelProperty(value = "站点id")
    private Long elecStationId;
 
    @ApiModelProperty(value = "站点名字")
    private String stationName;
 
    @ApiModelProperty(value = "0 充电桩平均功率，1 所有桩平均功率 2下线")
    private Integer type;
 
    @ApiModelProperty(value = "限制功率")
    private BigDecimal limitPower;
 
    @ApiModelProperty(value = "总功率")
    private BigDecimal totalPower;
 
    @ApiModelProperty(value = "最大功率")
    private BigDecimal maxPower;
 
    @ApiModelProperty(value = "备注")
    private String remark;
 
    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;
 
    @ApiModelProperty(value = "恢复时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
 
    @ApiModelProperty(value = "绑定的任务 用,分割")
    private String jobs;
 
    @ApiModelProperty(value = "0停止，1正常，2已完成")
    private String status;
 
    @ApiModelProperty(value = "创建人")
    private String createdBy;
 
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;
 
    @ApiModelProperty(value = "最后修改人")
    private String lastUpdatedBy;
 
    @ApiModelProperty(value = "最后修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastUpdatedTime;
 
    @ApiModelProperty(value = "名字")
    private String name;
 
    @ApiModelProperty(value = "下线桩号逗号分割")
    private String offLineNos;
 
    @ApiModelProperty(value = "降功率桩号逗号分割")
    private String limitNos;
 
    @ApiModelProperty(value = "null")
    private String tenantCode;
 
    @ApiModelProperty(value = "0 否，1是")
    private Integer isReset;
 
    public Long getElecPowerPlanId() {
        return elecPowerPlanId;
    }

    public void setElecPowerPlanId(Long elecPowerPlanId) {
        this.elecPowerPlanId = elecPowerPlanId;
    }

    public String getInitiator() {
        return initiator;
    }

    public void setInitiator(String initiator) {
        this.initiator = initiator;
    }

    public Long getElecStationId() {
        return elecStationId;
    }

    public void setElecStationId(Long elecStationId) {
        this.elecStationId = elecStationId;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public BigDecimal getLimitPower() {
        return limitPower;
    }

    public void setLimitPower(BigDecimal limitPower) {
        this.limitPower = limitPower;
    }

    public BigDecimal getTotalPower() {
        return totalPower;
    }

    public void setTotalPower(BigDecimal totalPower) {
        this.totalPower = totalPower;
    }

    public BigDecimal getMaxPower() {
        return maxPower;
    }

    public void setMaxPower(BigDecimal maxPower) {
        this.maxPower = maxPower;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getJobs() {
        return jobs;
    }

    public void setJobs(String jobs) {
        this.jobs = jobs;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getLastUpdatedBy() {
        return lastUpdatedBy;
    }

    public void setLastUpdatedBy(String lastUpdatedBy) {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public Date getLastUpdatedTime() {
        return lastUpdatedTime;
    }

    public void setLastUpdatedTime(Date lastUpdatedTime) {
        this.lastUpdatedTime = lastUpdatedTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getOffLineNos() {
        return offLineNos;
    }

    public void setOffLineNos(String offLineNos) {
        this.offLineNos = offLineNos;
    }

    public String getLimitNos() {
        return limitNos;
    }

    public void setLimitNos(String limitNos) {
        this.limitNos = limitNos;
    }

    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode;
    }

    public Integer getIsReset() {
        return isReset;
    }

    public void setIsReset(Integer isReset) {
        this.isReset = isReset;
    }

}
